package smartt.styy.auth.model.request;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ThirdLoginReq {

	@ApiModelProperty(name = "ip",value = "IP地址")
	@Setter @Getter
	private String ip;
	
	@ApiModelProperty(name = "thridAccount",value = "第三方账号", required = true)
	@Setter @Getter
	private String thridAccount;
	
	@JsonProperty("userType")
	@ApiModelProperty(name = "userType", value = "用户类型  1:游客，2：导游，3：旅行社，4,：游企（景区，酒店），5：政府", required = true)
	@Setter @Getter
	private Integer userType;
	
	@ApiModelProperty(name = "thridNickName",value = "第三方账号昵称", required = false)
	@Setter @Getter
	private String thridNickName;
	
	@ApiModelProperty(name = "thridAccountType",value = "第三方账号类型（1：QQ,2:微信，3：微博，4：匿名）", required = true)
	@Setter @Getter
	private Integer thridAccountType;
	
	@ApiModelProperty(name = "thridInfo",value = "第三方账号信息", required = false)
	@Setter @Getter
	private String thridInfo;
	
	@ApiModelProperty(name = "thridLogoUrl",value = "第三方账号logoUrl", required = false)
	@Setter @Getter
	private String thridLogoUrl;
	
	@ApiModelProperty(name = "sex",value = "第三方账号性别（1是男2是女", required = false)
	@Setter @Getter
	private Integer sex;
	
}
